const mongoose = require('mongoose')
const adminSchema = mongoose.Schema({
    adminName: {
        type: String,
        unique: true,
        required: true
    },
    password: {
        type: String,
        required: true
    },
    regTime: {
        type: String,
        required: true
    },
    loginTime: {
        type: String,
        required: true,
        default:"----"
    },
    satus: {
        type: Number,
        required: true,
        default: 0
    }
});

const adminModel = mongoose.model("adminList", adminSchema);

module.exports = adminModel